#include<iostream>
using namespace std;
unsigned long long num[2];
int main(){
    cin>>num[0]>>num[1];
    int flag=num[0]>num[1]?0:1;
    // cout<<num[0]<<" "<<num[1]<<" "<<num[0]+num[1]<<endl;
    for(;;flag++){
        if(num[flag%2]==1){
            cout<<(flag%2==0?"Brown":"Alice")<<endl;
            break;
        }else{
        if(num[flag%2]%2==0){
            num[(flag+1)%2]+=num[flag%2]/2;
            num[flag%2]=0;
        }else{
            num[(flag+1)%2]+=(num[flag%2]-1)/2;
            num[flag%2]=1;
        }}
        cout<<flag<<"\t"<<num[0]<<" "<<num[1]<<endl;
    }
    return 0;
}

